<%--
  Created by IntelliJ IDEA.
  User: CXYZF
  Date: 2024/10/17
  Time: 23:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=GBK" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("GBK");%>
<jsp:useBean id="ps" class="javaBeanSamples.person" scope="page"/>
<jsp:setProperty name="ps" property="age"/>
:<jsp:getProperty name="ps" property="name"/><BR>
Ա:<jsp:getProperty name="ps" property="sex"/><BR>
:<jsp:getProperty name="ps" property="age"/><BR>
</body>
</html>
